<?php

/**
 * index actions.
 *
 * @package    s-test
 * @subpackage index
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class indexActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
    
    $this->last_message = KTDMessage::getLastMessage();
    $this->last_action = KTDAction::getLastAction();
    /*Si on souhaite un affichage plus classique, on change... dmg quoi !*/
    if(sfConfig::get("app_old_forum_display") == true)
        $this->forward ("oldforum", "index");
  }
}
